package com.iscas.dataaggregation.mapper.mysql;

import com.iscas.dataaggregation.domain.experiment.Record;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author mj
* @description 针对表【record】的数据库操作Mapper
* @createDate 2024-11-24 20:50:10
* @Entity com.iscas.dataaggregation.domain.experiment.Record
*/
@Mapper
public interface RecordMapper extends BaseMapper<Record> {

    /**
     * Finds all records associated with a given plan ID.
     *
     * @param planId The ID of the plan.
     * @return A list of records associated with the given plan ID.
     */
    List<Record> findRecordsByPlanId(int planId);
}




